/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout/index.vue'

const commodiRouter = [
    {
        path: '/commodity',
        component: Layout,
        name: 'commodity',
        meta: { title: '商品管理', icon: 'Present' },
        children: [
            // 品牌
            {
                path: '/commodity/brand',
                component: () => import('@/views/commodity/index.vue'),
                name: 'brand',
                meta: {
                    title: '商品列表',
                    keepAlive: true,
                    icon: 'Present'
                },
            },
        ],
    },
]

export default commodiRouter
